package com.netease.test {

	import org.flexunit.Assert;
	import foo.bar.Person;
	
	public class TestApp {

		[Test]
		public function testGreeting():void {
			var name:String = "Buck Rogers";
			var expectedGreeting:String = "Hello, Buck Rogers";
 			
			var result:String = App.greeting(name);
			Assert.assertEquals("Greeting is incorrect", expectedGreeting, result);
			
			// protobuf
			var person:Person = new Person();
			person.name = "edgar";
			Assert.assertEquals(person.name, "edgar");
		}
	}
}
